import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart' show debugPaintSizeEnabled;

void main() {
  debugPaintSizeEnabled = true;
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("Home Page"),
      ),
      body: DefaultTextStyle(
        style: TextStyle(color: Colors.red, fontSize: 20),
        textAlign: TextAlign.center,
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.center,
          children: const [
            Text("hello"),
            Text("world"),
            Text(
              "good",
              style: TextStyle(inherit: false, color: Colors.blue),
            )
          ],
        ),
      ),
    );
  }
}
